-
Couldn't load subscription status.
- Fork 13
Fix/no blocking on unconnected serial jtag #38
Conversation
|
I like the line ending / no-op changes, but I'm not so sure about the fix for #38. Currently, if you start the chip unconnected and connect via USB, it still won't print anything. |
I am also not super happy with this solution because of the case you mentioned. The only alternative I can think of is to have the timeout as low as possible and always trying to send data even if we will run into the timeout every time |
|
I think what we can do is timeout initially, then on the next run check the |
Good idea! Will test that 👍 |
Another possible idea would be to check the USB address registers, but I don't know if they get cleared on disconnect - could be another thing to look into :) |
|
I think I now have a reliable working approach From the TRM
So I guess this is the best option we have and it seems to work fine for me |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for taking care of this!
Closes #31
Closes #32
Additionally, this fixes the broken
no-opfeature